package cn.benma666.sjsj;

import com.ruoyi.common.core.feign.FeignAutoConfiguration;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
//多个包则采用逗号分割，第一个必须保留，eg："cn.benma666", "com.xxxx.xxx"
@ComponentScan({"cn.benma666"})
@EnableCustomSwagger2
@EnableFeignClients(basePackages = {"cn.benma666"})
@Import({ FeignAutoConfiguration.class })
public class RuoYiSjsjApplication {

	public static void main(String[] args) {
		SpringApplication.run(RuoYiSjsjApplication.class, args);
	}

}
